<template>
  <div>
    <button @click="printthis">打印this</button>
about:{{this.$route.params.id}}
<hr>
about的props传参：{{this.id}}

  </div>
</template>

<script>
export default {
  data(){
    return{

    }

  }, props:['id'],
  methods:{
    printthis(){
      console.log(this)
    }
  }

}
</script>

<style>

</style>